package com.jy.rhin.model.body.jiwangshi;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/**
 * @author WeiQ
 * @date 2023/2/10 14:24
 * 既往史 既往疾病条目
 */
@Data
public class JiWangSJWJB {

    //既往患病确诊日期 yyyyMMdd
    @XPath(path = "/observation/effectiveTime/@value")
    String queZhenRQ;
    //    //既往常见疾病种类代码
//    String jiBingZLDM;
//    //既往常见疾病种类名称
//    String jiBingZLMC;
    @XPath(path = "/observation/value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_021_00))
    CodeObject jiBingZL;

}
